<template>
  <el-select v-if="modelValue.compare === 'IN' || modelValue.compare === 'NIN'"
             multiple default-first-option
             style="width: calc(100% - 410px);"
             allow-create filterable v-model="modelValue.compareVal"
             :placeholder="$t('webAuto.EnterPossibleValues')"></el-select>
  <el-input v-else style="width: calc(100% - 410px);"
            v-model="modelValue.compareVal[0]" :placeholder="$t('webAuto.EnterValue')"></el-input>
</template>
<script>
export default {
  name: "StrCompare",
  props: {
    modelValue:{
      require: true,
      type: Object
    }
  },
}
</script>
